package com.whenjun.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 
 * </p>
 *
 * @author whenjun
 * @since 2023-11-15
 */
@TableName("auth_permission_account")
@ApiModel(value = "AuthPermissionAccount对象", description = "")
public class AuthPermissionAccount implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;

    private String permissionId;

    private String accountId;

    private Boolean enable;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;

    private Boolean status;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getPermissionId() {
        return permissionId;
    }

    public void setPermissionId(String permissionId) {
        this.permissionId = permissionId;
    }

    public String getAccountId() {
        return accountId;
    }

    public void setAccountId(String accountId) {
        this.accountId = accountId;
    }

    public Boolean getEnable() {
        return enable;
    }

    public void setEnable(Boolean enable) {
        this.enable = enable;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }

    public Boolean getStatus() {
        return status;
    }

    public void setStatus(Boolean status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "AuthPermissionAccount{" +
            "id = " + id +
            ", permissionId = " + permissionId +
            ", accountId = " + accountId +
            ", enable = " + enable +
            ", createTime = " + createTime +
            ", updateTime = " + updateTime +
            ", status = " + status +
        "}";
    }
}
